package com.zhike.common.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

@Data
public class MessageSearchReqDTO extends PageReqDTO {
    /**
     * 搜索关键字
     */
    @ApiModelProperty(value = "搜索关键字", required = true)
    private String keyword;

    @ApiModelProperty(value = "消息类型", notes = "[0 文本消息 1 图片 ]")
    private String[] msgType;

    @ApiModelProperty(value = "群组ID")
    private String groupId;

    @Parameter(description = "消息发送方")
    private String senderUid;

    @Parameter(description = "消息接收方")
    private String receiver;
}
